<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
 
<h:head>
</h:head>
<h:body>
	<h1>Panel logowania</h1>
 
	 <form method="post" action="j_security_check" name="loginForm" >  
		  <label for="username">User Name:</label>  
            <input type="text" name="j_username" id="j_username" /> <br />  
            <label for="password">Password</label>  
            <input type="password" name="j_password" id="j_password" /> <br />  
            <input type="submit" name="login" id="login" value="Login" />  
            <h:link value="Try again" outcome="/user/user.xhtml" />
	</form>
 
</h:body>
</html>